from tensorflow.keras.layers import MaxPooling1D
import tensorflow as tf

x = tf.constant([19, 3, 6, 17, 8, 11, 15, 9])
x = tf.reshape(x, [1, 8, 1])
print(x)
max = MaxPooling1D(pool_size=2)
print(max(x))
